projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61f2a44
)
Remove bogus call to get_domain_by_id() in do_domctl().
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 15 Oct 2009 15:49:21 +0000
(16:49 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 15 Oct 2009 15:49:21 +0000
(16:49 +0100)
Signed-off-by: Keir Fraser <keir.fraser@eu.citrix.com>
xen/common/domctl.c
patch
|
blob
|
history
diff --git
a/xen/common/domctl.c
b/xen/common/domctl.c
index 60f8e000871c2172e7e7d700b178480ae78c72b5..65ccf2dacfb068d14a4a4c733b9c26ab21b5a3d3 100644
(file)
--- a/
xen/common/domctl.c
+++ b/
xen/common/domctl.c
@@
-234,7
+234,7
@@
long do_domctl(XEN_GUEST_HANDLE(xen_domctl_t) u_domctl)
case XEN_DOMCTL_unbind_pt_irq:
case XEN_DOMCTL_assign_device:
case XEN_DOMCTL_deassign_device: {
- struct domain *d
= get_domain_by_id(op->domain)
;
+ struct domain *d;
bool_t is_priv = IS_PRIV(current->domain);
if ( !is_priv && ((d = rcu_lock_domain_by_id(op->domain)) != NULL) )
{